package com.qiche.model;

import javax.persistence.*;

@Table(name = "card_link")
public class CardLink {
    @Id
    private Long id;
    
    @Column(name = "pack_id")
    private Long packId;

    @Column(name = "member_id")
    private Long memberId;

    @Column(name = "policy_id")
    private Long policyId;

    @Column(name = "product_id")
    private Long productId;

    private Integer count;

    @Column(name = "welfare_id")
    private Long welfareId;
    
    @Column(name = "use_period")
    private Integer usePeriod;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    
    
    public Long getPackId() {
		return packId;
	}

	public void setPackId(Long packId) {
		this.packId = packId;
	}

	/**
     * @return member_id
     */
    public Long getMemberId() {
        return memberId;
    }

    /**
     * @param memberId
     */
    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    /**
     * @return policy_id
     */
    public Long getPolicyId() {
        return policyId;
    }

    /**
     * @param policyId
     */
    public void setPolicyId(Long policyId) {
        this.policyId = policyId;
    }

    /**
     * @return product_id
     */
    public Long getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Long productId) {
        this.productId = productId;
    }

    /**
     * @return count
     */
    public Integer getCount() {
        return count;
    }

    /**
     * @param count
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * @return welfare_id
     */
    public Long getWelfareId() {
        return welfareId;
    }

    /**
     * @param welfareId
     */
    public void setWelfareId(Long welfareId) {
        this.welfareId = welfareId;
    }

	public Integer getUsePeriod() {
		return usePeriod;
	}

	public void setUsePeriod(Integer usePeriod) {
		this.usePeriod = usePeriod;
	}
    
    
}